package com.atguigu.common.exception.enumtion;



public enum ProductUpEnum {
    PRODUCT_UP(1,"上架"),
    PRODUCT_DOWN(0,"下架");

   private int code;
   private String msg;

    ProductUpEnum(int code, String msg) {
        this.code=code;
        this.msg=msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
